package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.LossItem;
import cn.wolfcode.crm.query.LossItemQueryObject;
import java.util.List;

public interface LossItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LossItem record);

    LossItem selectByPrimaryKey(Long id);

    List<LossItem> selectAll();

    int updateByPrimaryKey(LossItem record);

    void updatePartLossItem(LossItem lossItem);

    void updatePartLossItemOfAccident(LossItem lossItem);

    Integer queryForCount(LossItemQueryObject qo);

    List<LossItem> queryForList(LossItemQueryObject qo);
}